package com.link_with_health.mapper;

import com.link_with_health.model.DrTitleEntity;
import org.apache.ibatis.annotations.Mapper;
import java.util.List;

@Mapper
public interface DrTitleMapper {
    DrTitleEntity queryTitleById(Integer id);
    DrTitleEntity queryTitleByName(String Name);
    DrTitleEntity queryTitleByDoctorId(Long doctorId);
    List<DrTitleEntity> queryAllTitle();
    int updateTitle(DrTitleEntity title);
    int insertTitle(DrTitleEntity title);
    int deleteTitle(Integer id);
    
}
